package function;

import book.BookList;

public class FindOn implements Function{
    @Override
    public void work(BookList bookList) {
        System.out.println("查看还没有借出的图书");
        for (int i = 0; i < bookList.num; i++) {
            if(!bookList.books[i].isBorrowOrNo())
            System.out.println(bookList.books[i]);
        }
    }
}
